<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>ToGo二手车-个人中心</title>
	<link rel="stylesheet" type="text/css" href="../css/top.css">
	<link rel="stylesheet" type="text/css" href="../css/userinfo.css">
	<script type="text/javascript" src="../js/jquery-2.2.3.min.js"></script>
	<script type="text/javascript" src="../js/jquery.cookie.js"></script>
	<script type="text/javascript" src="../js/top.js"></script>
	<script type="text/javascript" src="../js/userinfo.js"></script>
</head>
<body>
	<div id="top">
		<ul id="top-ul">
			<li><a href="../car/index.html">首页</a> </li>
			<li><a href="../car/buycar.html">买车</a> </li>
			<li><a href="../car/sellcar.html">卖车</a> </li>
			<li></li>
			<li></li>
			<li id="user"><a href="../user/login.html">登录</a>/<a href="../user/register.html">注册</a></li>
		</ul>
	</div> 
	<div id="mid">
	
		<div id="mid-left">
			<ul id="mid-left-ul">
				<li><a href="javascript:void(0);" onclick="show('mid-form')">我的资料</a></li>
				<hr style="border:none;background-color:rgba(200,200,200,0.8);height:1.3px;">
				<li><a href="javascript:void(0);" onclick="show('mid-table')">我卖的车</a></li>
				<hr style="border:none;background-color:rgba(200,200,200,0.8);height:1.3px;">
				<li><a href="javascript:void(0);" onclick="show('mid-password')">修改密码</a></li>
				<hr style="border:none;background-color:rgba(200,200,200,0.8);height:1.3px;">
				<li><a href="javascript:void(0);" onclick="show('mid-emailandphone')">修改邮箱和手机号码</a></li>
			</ul>
		</div>
		<div id="mid-right">
		<form action="" name="" method="post" id="mid-form">
		<span class="username">用户名：<span id='username'></span></span>
		<span class="realname">真实姓名：<span id=realname></span></span>
		<span class="sex">性别：<span id='sex'></span></span>
		<span class="email">邮箱地址:<span id='email'></span></span>
		<span class="phoneNumber">联系电话:<span id='phoneNumber'></span></span>
		</form>

		<table id="mid-table">
			<tr>
				<th class="mid-table-brand">品牌</th>
				<th class="mid-table-model">车系</th>
				<th class="mid-table-mileage">行驶里程(万公里)</th>
				<th class="mid-table-price">价格(元)</th>
				<th class="mid-table-photo">图片</th>
				<th class="mid-table-status">状态</th>
				<th class="mid-table-modify">修改状态</th>
			</tr>
			<!-- <tr>
				<td class="mid-table-brand">奔驰</td>
				<td class="mid-table-model">AMG-G1</td>
				<td class="mid-table-mileage">6.9万公里</td>
				<td class="mid-table-price">100万</td>
				<td class="mid-table-photo"><img src="../image/car/benchi-AMG-G1.jpg" style="width:100px;height:100px;"></td>
				<td class ="mid-table-status">在售</td>
				<td class ="mid-table-modify"><input type="button" value="已售"></td>
			</tr> -->
		</table>

		<div id="mid-password">
			<p>旧密码：<input type="password" id="oldpassword"></p>
			<p>新密码：<input type="password" id="newpassword"></p>
			<p>确认新密码：<input type="password" id="affnewpassword"></p>
			<p><input type="button" onclick="revisepassword()" value="提交"></p>
		</div>

		<div id="mid-emailandphone">
			<p>新邮箱：<input type="text" id="newEmail"><input type="button" value="确认修改" onclick="revisemail()"></p>
			<p>新手机号码：<input type="text" id="newPhoneNumber"><input type="button" onclick="revisephone()" value="确认修改"></p>
		</div>





		</div>
	</div>
</body>
</html>
